package net.maku.events.convert;

import net.maku.events.entity.ActivityKnowledgeContestEntity;
import net.maku.events.vo.ActivityKnowledgeContestVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 知识竞赛活动
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-22
*/
@Mapper
public interface ActivityKnowledgeContestConvert {
    ActivityKnowledgeContestConvert INSTANCE = Mappers.getMapper(ActivityKnowledgeContestConvert.class);

    ActivityKnowledgeContestEntity convert(ActivityKnowledgeContestVO vo);

    ActivityKnowledgeContestVO convert(ActivityKnowledgeContestEntity entity);

    List<ActivityKnowledgeContestVO> convertList(List<ActivityKnowledgeContestEntity> list);

}